package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户机器人对象 sys_client_robot
 * 
 * @author ruoyi
 * @date 2023-12-26
 */
public class SysClientRobot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long robotId;

    /** 用户ID */
    private Long clientId;

    /** 用户名称 */
    private String clientName;

    /** 机器人类型ID */
    private Long robotTypeId;

    /** 机器人类型名称 */
    @Excel(name = "机器人类型名称")
    private String robotTypeName;

    /** 机器人名称 */
    @Excel(name = "机器人名称")
    private String robotName;

    /** 机器人轨迹 */
    @Excel(name = "机器人轨迹")
    private String robotTrajectory;

    /** 机器人过期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "机器人过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date robotExpiredTime;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** $column.columnComment */
    private Long type;

    public void setRobotId(Long robotId) 
    {
        this.robotId = robotId;
    }

    public Long getRobotId() 
    {
        return robotId;
    }
    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }
    public void setClientName(String clientName) 
    {
        this.clientName = clientName;
    }

    public String getClientName() 
    {
        return clientName;
    }
    public void setRobotTypeId(Long robotTypeId) 
    {
        this.robotTypeId = robotTypeId;
    }

    public Long getRobotTypeId() 
    {
        return robotTypeId;
    }
    public void setRobotTypeName(String robotTypeName) 
    {
        this.robotTypeName = robotTypeName;
    }

    public String getRobotTypeName() 
    {
        return robotTypeName;
    }
    public void setRobotName(String robotName) 
    {
        this.robotName = robotName;
    }

    public String getRobotName() 
    {
        return robotName;
    }
    public void setRobotTrajectory(String robotTrajectory) 
    {
        this.robotTrajectory = robotTrajectory;
    }

    public String getRobotTrajectory() 
    {
        return robotTrajectory;
    }
    public void setRobotExpiredTime(Date robotExpiredTime) 
    {
        this.robotExpiredTime = robotExpiredTime;
    }

    public Date getRobotExpiredTime() 
    {
        return robotExpiredTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("robotId", getRobotId())
            .append("clientId", getClientId())
            .append("clientName", getClientName())
            .append("robotTypeId", getRobotTypeId())
            .append("robotTypeName", getRobotTypeName())
            .append("robotName", getRobotName())
            .append("robotTrajectory", getRobotTrajectory())
            .append("robotExpiredTime", getRobotExpiredTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("type", getType())
            .toString();
    }
}
